package com.zb_study.Homework03;

public class Person {
    private String name;
    private double daySal;
    private int day;
    private double grade;

    public Person(String name, double daySal, int day, double grade) {
        this.name = name;
        this.daySal = daySal;
        this.day = day;
        this.grade = grade;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getDaySal() {
        return daySal;
    }

    public void setDaySal(double daySal) {
        this.daySal = daySal;
    }

    public double getMonthSal() {
        return day;
    }

    public void setMonthSal(int day) {
        this.day = day;
    }

    public double getGrade() {
        return grade;
    }

    public void setGrade(double grade) {
        this.grade = grade;
    }

    public double printInfo() {
        return (daySal * day * grade);
    }
}
